/*
 * ToolWindowDelegate.h  0.4.0 / Dec 04, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
#ifndef TOOLWINDOWDELEGATE_H
#define TOOLWINDOWDELEGATE_H

#include "Cute4jSwing.h"

#include "WindowDelegate.h"

// ToolWindowDelegate Class. ---------------------------------------------------

/*!
 * \brief ToolWindow Delegate.
 *
 * \author Slobodan Vrkacevic
 * \version 0.4.0
 */
class CUTE4J_EXPORT ToolWindowDelegate : public WindowDelegate
{
  Q_OBJECT
protected:
  ToolWindowDelegate(JNIEnv *env, jobject obj);
public: // native calls
  static jlong newInstance(JNIEnv *env, jobject obj);
};

// Macro Definitions. ----------------------------------------------------------

#define TOOL_WINDOW_DELEGATE (reinterpret_cast<ToolWindowDelegate *>(delegate))

#endif // TOOLWINDOWDELEGATE_H
